/*
 *
 * Copyright (c) 2023 - future
 * @author fzh
 * @email e_341877120_mail@163.com
 * @link https://mvnrepository.com/search?q=io.github.xrfzh.cn
 *
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package cn.xrfzh.api.videoTags.pojo;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * 用于存储视频的标签信息，以支持搜索和过滤功能
 *
 * @author fzh
 * @email e_341877120_mail@163.com
 * @date 2023-10-24 08:36:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_video_tags")
@ApiModel("<实体类VideoTags>")
public class VideoTags implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识每个标签的ID
     */
    @TableId(type = IdType.AUTO)
    @Alias("唯一标识每个标签的ID")
    @ApiModelProperty("唯一标识每个标签的ID")
    private Integer tagId;

    /**
     * 外键，指向视频表中的视频ID
     */
    @Alias("外键，指向视频表中的视频ID")
    @ApiModelProperty("外键，指向视频表中的视频ID")
    private Integer videoId;

    /**
     * 标签名称，如"足球"、"电影"等
     */
    @Alias("标签名称，如'足球'、'电影'等")
    @ApiModelProperty("标签名称，如'足球'、'电影'等")
    private String tagName;

}
